#pragma once
//#include <xpam/ui/window_for_messages.h>
#include <xpam/ui/window.h>
#include <xpam/event_handler.h>
#include <xpam/point.h>
#include <vector>
namespace xpam
{
    namespace ui
    {
        class notify_icon
        {
            window _message_wnd;
            std::string _tip;
        public:
            notify_icon(const std::string & tip);
            ~notify_icon();

            bool add();
            void remove();
            void modify();

            void * user_data;

            event_handler<notify_icon, xpam::point<int> > on_left_mouse_down;
            event_handler<notify_icon, xpam::point<int> > on_left_mouse_up;
            event_handler<notify_icon, xpam::point<int> > on_left_mouse_dblclk;
            event_handler<notify_icon, xpam::point<int> > on_rigth_mouse_down;
            event_handler<notify_icon, xpam::point<int> > on_rigth_mouse_up;
            event_handler<notify_icon, xpam::point<int> > on_rigth_mouse_dblclk;
        };
    }
}